﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CADprogram.Base;

namespace CADprogram.Base
{
    public interface DataClass
    {
        Envelope Envelope { get; set; }

    }
    public class Point : DataClass
    {
        Envelope DataClass.Envelope { get; set ; }

    }

    public class Line : DataClass
    {
        public Envelope Envelope { get ; set; }
        public PointF[] points { get; set; }
    }

    public class PolyLine : DataClass
    {
        public Envelope Envelope { get; set; }
        public PointF[] points { get; set; }
    }
    public class Curve : DataClass
    {
        public Envelope Envelope { get; set; }
    }
    public class Polygon : DataClass
    {
        public Envelope Envelope { get ; set ; }
    }
    public class Envelope
    {
        public float Lefe_bottom { get; set; }

    }

}
